import {CHECK_USER, GET_USER_INFORMATION, LANGUAGE,COEFFICENT_SUPER} from "./constants";

export const checkUser = isOk => ({
  type: CHECK_USER,
  isCheck: isOk
});

export const getUserInformation = userInfo => ({
  type: GET_USER_INFORMATION,
  getInfo: userInfo
});

export const saveLanguage = isCN => ({
  type: LANGUAGE,
  isCN
});
export const saveCoeSuper = isSuper => ({
  type: COEFFICENT_SUPER,
  isSuper
});